declare interface CookieOpt {
  expires?: number | Date;
  path?: string;
  domain?: string;
  secure?: boolean;
}

declare class Cookies {

  public static set(name: string, value: string, opt?: CookieOpt): void;

  public static get(name: string): string;

  public static remove(name: string, opt?: CookieOpt): void;
}

declare module 'js-cookie' {
  export default Cookies;
}
